package com.exam.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.exam.demo.controller.dto.UserDTO;
import com.exam.demo.entity.Admin;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;


/**
 * 功能描述
 *
 * @author yxj30
 * @date 2022/03/16  19:23
 */

public interface AdminService extends IService<Admin> {

    //导出
    HttpServletResponse export(HttpServletResponse response) throws IOException;

    //导入
    boolean imp(MultipartFile file) throws IOException;

    UserDTO login(Admin admin);
}
